package com.example.springbootsecurityjwt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**

 * @author  supan

 * @create  2022/3/21 21:52

 * @desc    SpringBoot整合JTW、Security

 **/

@SpringBootApplication
@MapperScan("com.example.springbootsecurityjwt.mapper")
public class SpringBootSecurityJwtApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SpringBootSecurityJwtApplication.class, args);
        System.out.println(run+"启动成功");
    }

}
